package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/6/16 20:14
 */
@ApiModel("蓝牙设备Bo")
@Setter
@Getter
public class DeviceBo extends BaseBo {

    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty(value = "用户ID", hidden = true)
    private String userId;
    @ApiModelProperty("小孩ID")
    private String childrenId;
    @NotNull(message = "宝贝名称为空")
    @ApiModelProperty("别名")
    private String alias;
    @ApiModelProperty("设备UUID")
    private String uuid;
    @NotNull(message = "设备Address为空")
    @ApiModelProperty("Mac地址")
    private String mac;
    @ApiModelProperty("服装类型")
    private Integer clothesType;
    @ApiModelProperty("是否选中")
    private Integer selected;

    private String platform;
}
